class SnowRenderer : public IBlockRenderer
{
public:
	ITexture *Texture;
	Point2i TexPos;

	SnowRenderer(ITexture *texture, Point2i texPos) :
		Texture(texture),
		TexPos(texPos)
	{
	}

	int GetTypeData(const int &data) { return 0; }

	void Render(Schematic *schematic, RendererBase *renderer, const Block &block, const Point3i &position)
	{
		int size = 2 + (block.Data * 2);

		renderer->Draw(Box(Texture, Point3i(16, size, 16), Point3i(0, 16 - size, 0)).SetAll(TexPos).SetSides(TexPos + Point2i(0, 16 - size)));
	}
};